#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QDebug>
#include <QPixmap>
#include <QSqlError>
#include <QMessageBox>
#include <QMainWindow>
#include <QSqlDatabase>

#include "logindialog.h"
#include "doctorwindow.h"
#include "patientwindow.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_actionQuit_triggered();

    void on_toolButton_patientLogin_clicked();

    void on_toolButton_doctorLogin_clicked();

private:
    Ui::MainWindow *ui;

    LoginDialog *loginDialog;
};

#endif // MAINWINDOW_H
